package com.jml.controller;


import com.jml.service.IDeptService;
import com.jml.service.IMemberService;
import com.jml.service.IMessageService;
import com.jml.util.controller.AbstractBaseController;
import com.jml.vo.Member;
import java.util.List;
import javax.annotation.Resource;
import javax.validation.Valid;
import org.springframework.stereotype.Controller;
import org.springframework.validation.BindingResult;
import org.springframework.validation.ObjectError;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller
public class DeptController extends AbstractBaseController {

	@Resource
	private IDeptService iDeptServiceImpl;

	@RequestMapping("/list")
	@ResponseBody
	public Object addPre(){ //增加前的准备操作路径
		return iDeptServiceImpl.findAll();
	}


}
